import java.util.*;

public class PokerGame{
    public static int[] pokerSituation = {2,20,200,2000,3,30,300,3000,4,40,400,4000,5,50,500,5000,6,60,600,6000,
            7,70,700,7000,8,80,800,8000,9,90,900,9000,10,100,1000,10000,11,110,1100,11000,12,120,1200,12000,
            13,130,1300,13000,14,140,1400,14000};

    public static void main(String[] args) {
        int pokerFu;
        int personNum;

        Scanner scanner = new Scanner(System.in);
        pokerFu = scanner.nextInt();
        personNum = scanner.nextInt();
        int[]situation = assemblePokerSituation(pokerFu);
        ArrayList<Integer> list = new ArrayList<>();
        Arrays.asList(pokerSituation);


    }

    public static int[] assemblePokerSituation(int pokerFu){
        int[] situation = new int[pokerFu*52];
        for(int i=0,k=0;i<pokerFu;i++){
            int[] pokerSit = new int[52];
            System.arraycopy(pokerSituation,0,pokerSit,0,52);
            for(int j=0;j<52;j++){
                situation[k++]=pokerSit[j];
            }
        }
        return situation;

    }

}


//public class PokerGame{
//
//
//    public static void main(String[] args) {
//        List<String> pokerSituation = new ArrayList<>();
//        Collections.shuffle(pokerSituation);
//
//
//
//    }
//
//
//
//}